package com.chuantou.yuba.api.to;

import java.util.List;

import com.google.gson.annotations.SerializedName;

import android.os.Parcel;
import android.os.Parcelable;

public class FishingPlaceListTO implements Parcelable {
	// 钓场列表
	@SerializedName("list")
	private List<FishingPlaceTO> places;
	// 当前页码
	@SerializedName("p")
	private int currentPage;

	public FishingPlaceListTO() {
	}

	public FishingPlaceListTO(Parcel source) {
		// TODO 需要序列化时再做
	}

	@Override
	public int describeContents() {
		return 0;
	}

	@Override
	public void writeToParcel(Parcel dest, int flags) {
		// TODO 需要序列化时再做
	}

	public static final Creator<FishingPlaceListTO> CREATOR = new Creator<FishingPlaceListTO>() {

		@Override
		public FishingPlaceListTO[] newArray(int size) {
			return new FishingPlaceListTO[size];
		}

		@Override
		public FishingPlaceListTO createFromParcel(Parcel source) {
			return new FishingPlaceListTO(source);
		}
	};

	public List<FishingPlaceTO> getPlaces() {
		return places;
	}

	public void setPlaces(List<FishingPlaceTO> places) {
		this.places = places;
	}

	public int getCurrentPage() {
		return currentPage;
	}

	public void setCurrentPage(int currentPage) {
		this.currentPage = currentPage;
	}

}
